<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>示例12</title>
    <script>
        let set = new Set(['JavaScript', 'HTML', 'CSS']);
        for (let item of set.keys()) {
            console.log(item);
        }
        for (let item of set.values()) {
            console.log(item);
        }
        for (let item of set.entries()) {
            console.log(item);
        }
    </script>
</head>

<body></body>

</html>